package com.zx.disneyholidays.bean;

import java.util.List;

public class TicketCardBean {

    /**
     * coupon : [{"discount":"约8折","end_date":"2024-05-31 11:32:03","id":1,"name":"约8折品尝乐园及度假区酒 店缤纷美食-美食优惠券","type":"餐饮券","week_number":6},{"discount":"约8折","end_date":"2027-12-10 11:33:33","id":2,"name":"约8折品尝乐园及度假区酒 店缤纷美食-小食优惠券","type":"小食券","week_number":11}]
     * ticket : {"card_no":"**** **** **55 6455","end_date":"2024-06-28","id":1,"name":"无线钻石卡","qr_image":"http://dsnqrreplace.dev.zhangxinkeji.com/uploads/20240129/dd43f1fc8487abda2c9d16374203cb01.png","start_date":"2024-01-29"}
     */

    private TicketBean ticket;
    private List<CouponBean> coupon;

    public TicketBean getTicket() {
        return ticket;
    }

    public void setTicket(TicketBean ticket) {
        this.ticket = ticket;
    }

    public List<CouponBean> getCoupon() {
        return coupon;
    }

    public void setCoupon(List<CouponBean> coupon) {
        this.coupon = coupon;
    }

    public static class TicketBean {
        /**
         * card_no : **** **** **55 6455
         * end_date : 2024-06-28
         * id : 1
         * name : 无线钻石卡
         * qr_image : http://dsnqrreplace.dev.zhangxinkeji.com/uploads/20240129/dd43f1fc8487abda2c9d16374203cb01.png
         * start_date : 2024-01-29
         */

        private String card_no;
        private String end_date;
        private String id;
        private String name;
        private String qr_image;
        private String start_date;

        public String getCard_no() {
            return card_no;
        }

        public void setCard_no(String card_no) {
            this.card_no = card_no;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getQr_image() {
            return qr_image;
        }

        public void setQr_image(String qr_image) {
            this.qr_image = qr_image;
        }

        public String getStart_date() {
            return start_date;
        }

        public void setStart_date(String start_date) {
            this.start_date = start_date;
        }
    }

    public static class CouponBean {
        /**
         * discount : 约8折
         * end_date : 2024-05-31 11:32:03
         * id : 1
         * name : 约8折品尝乐园及度假区酒 店缤纷美食-美食优惠券
         * type : 餐饮券
         * week_number : 6
         */

        private String discount;
        private String end_date;
        private String id;
        private String name;
        private String type;
        private String week_number;

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getEnd_date() {
            return end_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getWeek_number() {
            return week_number;
        }

        public void setWeek_number(String week_number) {
            this.week_number = week_number;
        }
    }
}
